<%-- 
    Document   : list
    Created on : 2015-8-27, 14:21:41
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <link href='../css/bootstrap-paper.css'  rel='stylesheet' type='text/css' />

        <link href='../css/font-awesome.css' rel='stylesheet' type='text/css' />

        <script type="text/javascript" src="../js/jquery-1.9.1.js"></script>
        <script  type="text/javascript" src="../js/bootstrap.min.js"></script>
        <script  type="text/javascript" src="../js/angular/angular.min.js"></script>
        <script  type="text/javascript" src="../js/jquery.cxhd.js"></script>
        <script src="../js/angular/ui-bootstrap-tpls-0.12.0.min.js"></script>
        <script  type="text/javascript" src="centerList.js"></script>
        <title>JSP Page</title>
        <style>
            .pagination{
                margin: 0px;
            }
        </style>
    </head>
    <body style="font-family: 微软雅黑" ng-app="centerList" ng-controller="mainController">

        <!--        <div class="container">-->
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading"><span style="float: left">云中心病人列表</span>
                    <div>
                        <input ng-model="searchContent" placeholder="名字/病人ID" style="width:320px; float: left;margin-left: 20px" class="form-control input-sm" />
                        <button ng-click="getList()" style="float: left" class="btn btn-success btn-sm"><span class="fa fa-search"></span>&nbsp;&nbsp;搜索</button>

                        <button ng-click="sendMore()" style="margin-left: 30px;float: left" class="btn btn-info btn-sm"><span class="fa fa-send"></span>&nbsp;&nbsp;从云中心下载到本地</button></div>
<!--                    <div style="margin-left: 30px;float: left;width: 300px;margin-top: 5px">
                        <div style="float: left;width: 280px;margin-top: 10px;" class="progress progress-striped">
                            <div  id="upload_pro"  class="progress-bar progress-bar-success" role="progressbar" 
                                  aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" 	
                                  style="width: 0%;">
                                <span class="sr-only">10% 完成（成功）</span>
                            </div>
                        </div>
                        <div style="float: left;width: 15px;margin-left: 5px" >
                            <span class="badge" id="file_count">0</span>
                        </div>
                    </div>-->
                    <div style="clear: both"></div>
                </div>
                <table class="table table-hover">
                    <tr>
                        <th>编号</th>
                        <th>病人ID</th>
                        <th>名字</th>
                        <th>性别</th>
                        <th>出生日期</th>
                        <th>时间</th>
                        <th>操作</th>
                    </tr>
                    <tr ng-repeat="list in lists">
                        <td>
                            <input ng-model="list.send" type="checkbox"></td>
                        <td>{{list.pat_id}}</td>
                        <td>{{list.pat_name}}</td>
                        <td>{{list.pat_sex}}</td>
                        <td>{{list.pat_birthdate}}</td>
                       
                        <td>{{list.createtime}}</td>
                      
                        <td>
<!--                            <button ng-click="send(list)" class="btn btn-success btn-xs">发送</button>-->
                        </td>
                    </tr>

                </table>

            </div>
            <div style="width: 100%;text-align: center">
                <pagination ng-change="pageChanged()" previous-text="上一页" next-text="下一页" first-text="第一页" last-text="最后一页" ng-model="data.currentPage" items-per-page="data.pageSize" total-items="data.bigTotalItems" ng-model="data.bigCurrentPage" max-size="data.maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages"></pagination>

            </div>
        </div>
        <!--        </div>-->
    </body>
</html>

